
@interface AliIOT_loginFlow : NSObject {
}

+ (AliIOT_loginFlow *)sharedInstance;

/**
 用户名密码登录
 */
- (void)loginWithName:(NSString *)loginName
             withPass:(NSString *)password
           completion:(void (^)(id responseObject, bool isSuccess, NSError *error))completion;

/**
 手机验证码登录
 */
- (void)loginWithMobile:(NSString *)mobile
               withCode:(NSString *)code
             completion:(void (^)(id responseObject, bool isSuccess, NSError *error))completion;

@end
